package com.jhj.po.bm.mapper;

import java.util.List;
import java.util.Map;

import com.jhj.po.bm.model.BmOrder;
import com.jhj.vo.bm.ChartSearchVo;
import com.jhj.vo.bm.OrderSearchVo;

import tk.mybatis.mapper.common.Mapper;

public interface BmOrderMapper extends Mapper<BmOrder> {
	
	/**
	 * 订单分类数量统计
	 * */
	List<Map<String, String>> countOrderNumGbServiceType(ChartSearchVo vo);

	List<Map<Integer, Integer>> countOrderSale(OrderSearchVo searchVo);

	int countOrderBySearchVo(ChartSearchVo searchVo);

	List<BmOrder> selectByListPage(OrderSearchVo orderSearchVo);
	
	List<BmOrder> selectBySearchVo(OrderSearchVo orderSearchVo);
	
	Integer statUserNum(ChartSearchVo searchVo);
}